package net.opentsdb.query.filter.value;

public class Equal extends NumericExpression {

    private Number myCriterion;
    public Equal(Number theCriterion){
        myCriterion = theCriterion;
    }
    @Override
    public boolean evaluate(Number theValue) {
        return theValue.doubleValue() == myCriterion.doubleValue();
    }
}
